<div class="x-wrap">
	<!-- <div class="x-header">
		<div class="x-title"><i class="fa fa-2x fa-user-circle-o"></i><span class="title-text">角色管理</span></div>
	</div> -->
	<div class="x-panel">
		<div class="x-toolbar">
			<div class="fl">
				<span class="x-btn-group">
					<button type="button" class="x-btn" ng-if="editable" ng-click="importUsers()"><i class="fa fa-user-plus"></i><span class="btn-text">添加用户</span></button>
					<button type="button" class="x-btn" ng-if="editable" ng-click="importDeparts()"><i class="fa fa-plus-square"></i><span class="btn-text">添加部门</span></button>
					<button type="button" class="x-btn" ng-if="!editable" ng-disabled="!hasSelectedRecords()" ng-click="remove()"><i class="fa fa-minus-circle"></i><span class="btn-text">移除权限</span></button>
				</span>
				<button type="button" class="x-btn" ng-if="editable" ng-click="removeAll()"><i class="fa fa-minus-circle"></i><span class="btn-text">全部删除</span></button>
				<button type="button" class="dialog-button" ng-if="editable" ng-click="save()"><i class="fa fa-save"></i><span class="btn-text">保存修改</span></button>
			</div>
			<div class="fr">
				<button type="button" class="ico-button" ng-click="toggle()"><i class="fa fa-retweet"></i><span class="btn-text">{{toggleText}}</span></button>
			</div>
		</div>
		<div class="x-grid-fixed x-grid-selection x-grid-no-footer" grid-view="gridOptions" grid-selection></div>
	</div>
</div>